package com.todo.content.iface.backend.response;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author zhangwenxiang
 * @date 2024/3/16 09:59
 * @description
 */
@Data
@Schema(title = "多条件查询内容分类结果",description = "多条件查询内容分类结果")
public class QueryContentClassifyByConditionResp {
    /**
     * 主键
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @Schema(title = "主键id",description = "主键id")
    private Long id;
    /**
     * 分类名称
     */
    @Schema(title = "分类名称",description = "分类名称")
    private String name;
    /**
     * 分类code
     */
    @Schema(title = "分类code",description = "分类code")
    private String code;
    /**
     * 主图
     */
    @Schema(title = "主图",description = "主图")
    private String mainImg;
    /**
     * 业务场景
     * {@link com.todo.strategy.common.enums.BusinessSceneEnum}
     */
    @Schema(title = "业务场景",description = "业务场景")
    private Integer businessScene;
    /**
     * 是否开启
     */
    @Schema(title = "是否开启",description = "是否开启")
    private Integer isEnable;
    /**
     * 创建用户
     */
    @Schema(title = "创建用户",description = "创建用户")
    private String createUser;
}
